package com.changgou.pay.feign;

import com.changgou.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "pay")
@RequestMapping("/weixin/pay")
public interface WeixinPayFeign {

    @GetMapping("/close")
    Result closePay(@PathVariable Long OrderId);
}
